package com.wechat.api.web.dao;

import java.util.HashMap;
import java.util.List;

import com.wechat.api.web.model.StoryHost;

public interface StoryHostMapper {
    int deleteByPrimaryKey(String id);

    int insert(StoryHost record);

    int insertSelective(StoryHost record);

    StoryHost selectByPrimaryKey(String id);
    List<StoryHost> selectByUserID(HashMap<String,Object> param);
    int selectByUserIDCount(HashMap<String,Object> param);    

    int updateByPrimaryKeySelective(StoryHost record);

    int updateByPrimaryKey(StoryHost record);
    
    int selectUserID(StoryHost record);
}